build: Fix detection for pre-compiled css files
authorKalev Lember <klember@redhat.com>
Mon, 23 Aug 2021 13:38:46 +0000 (15:38 +0200)
committerKalev Lember <klember@redhat.com>
Mon, 23 Aug 2021 14:15:48 +0000 (16:15 +0200)
The default theme changed from Adwaita to Default and this tripped up
the logic to detect if the tarball builds contain pre-built css files or
not. Fix this by looking at pre-compiled css files in themes/Default/
instead of themes/Adwaita/.

gtk/meson.build

index fa66764c502d16cb017e07b88b2144a2550ce2c5..bfb5105fe5994b194dea41525cb84ac0891480f6 100644 (file)
@@ -842,7 +842,7 @@ gtk_gresources_xml = configure_file(output: 'gtk.gresources.xml',
 
 theme_deps = []
 # For git checkouts, but not for tarballs...
-if not fs.exists('theme/Adwaita/Adwaita.css')
+if not fs.exists('theme/Default/Default-light.css')
   # ... build the theme files
   sassc = find_program('sassc', required: false)
   if not sassc.found()